<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<style lang="scss" scoped>
.layout {
  min-height: 100%;
  background-color: #FFF;
  display: flex;
}
.slidebar {
  height: 100vh;
  background-color: #304156;
  width: 200px;
  .slidebar-fixed {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #304156;
    width: 200px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .slide-logo {
    height: 50px;
    background-color: #2b2f3a;
    a {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #FFF;
      font-size: 14px;
      font-weight: 600;
       img {
          width: 32px;
          height: 32px;
          margin-right: 12px;
        }
    }
  }
}
.content-main {
  flex: 1;
  background: #f3f3f3;
  .nav-bar {
    height: 50px;
    background-color: #fff;
    .nav-bar-fixed {
      position: fixed;
      top: 0;
      right: 0;
      width: calc(100% - 200px);
      height: 50px;
      background-color: #fff;
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    }
  }
  .main {
    min-height: calc(100vh - 50px);
    background: #f9f9f9;
    .list {
      height: 300px;
      background: #f1f1f1;
      margin: 20px 0;
    }
  }
}
</style>
